{% extends "base_16_8.html" %}

{% block title %}发帖子{% endblock %}

{% block extra-js %}
<script type="text/javascript" src="/media/js/post/create.js"></script>
{% endblock %}

{% block h1 %}发帖子{% endblock %}

<!-- left -->
{% block left %} 

    <form id="form" class="gray" action="" method="post">
        <label>标题：</label>
        <span id="spantitle" class="error" style="display:none"></span>
        <br>
        {{ form.title.errors }}
        <input id="formtitle" name="title" class="text" type="text" value="{{ form.title.data }}" size="80" maxlength="35">
        <br><br>
        
        <label>正文：</label>
        <span id="spancontent" class="error" style="display:none"></span>
        <br>
        {{ form.content.errors }}
        <textarea id="formcontent" name="content" style="width:520px;height:380px">{{ form.content.data }}</textarea>
        <div class="clear"></div><br>
        
        <div class="grid_2 alpha">    
        <input class="button" type="submit" value="就这样吧">
        </div>
        
        <div class="grid_2 prefix_9 omega">
        <a href="../">&gt; 取消</a>
        </div>
        
    </form>
            
{% endblock %}<!-- left -->

{% block right %}
{% include "activity/sideinfo.html" %}
<br><br>
<a href="{{ master.get_absolute_url }}post/">&gt; 返回论坛</a>
{% endblock %}<!-- right -->
